import request from '@/utils/request'

// 传感器地图列表
export function sensorList(query) {
  return request({
    url: '/data/sensorpoints/list',
    method: 'get',
    params: query
  })
}
// 传感器UI列表
export function sensorUIList(query) {
  return request({
    url: '/data/sensorpoints/getAlarmFaultList',
    method: 'get',
    params: query
  })
}
// 查询煤田火区基本情况信息主列表 ====火区列表
export function fireNameList(query) {
  return request({
    url: '/data/basic/list',
    method: 'get',
    params: query
  })
}
// 查询首页4个醒目框数据 ====统计信息
export function analysisData() {
  return request({
    url: '/data/sensorpoints/getAlarmFault',
    method: 'get',
  })
}

// 轮巡预警 
export function alarmData() {
  return request({
    url: '/data/sensorpoints/getSorIdList',
    method: 'get',
  })
}

// 矿山检索列表
export function coalList(query) {
  return request({
    url: '/mine/list',
    method: 'get',
    params: query
  })
}
//大屏传感器报警统计
export function sensorStatistics() {
  return request({
    url: '/large/sensorpoints/list',
    method: 'get',
  })
}
//大屏火区总数以及各类型数量统计
export function fireStatistics() {
  return request({
    url: '/fire/list',
    method: 'get',
  })
}
//大屏矿山统计
export function coalStatistics() {
  return request({
    url: '/mine/homePage',
    method: 'get',
  })
}